
	$(document).ready(function(){
		var div1 = $('#Hint_Div');
		div1.bgiframe();
		$('[hintInfo]').focus(function(e){
			if($(this).attr("id") == "") return;
			var obj = $(this).offset();									
			var iHeight = $(this).height();
			$('#pmf_hint').html($(this).attr("hintInfo"));
			var divHeight = div1.height();
			var i = obj.top - divHeight;
			if(0 > i)
			{
				$('#pmf_hint_hintBottom').attr("class","pmf_hint_mess_down_2");
				$('#pmf_hint_hintTop').attr("class","pmf_hint_mess_top_2");
				div1.css("left",obj.left + "px").css("top",(obj.top + iHeight) + "px");
			}										
			else
			{
				$('#pmf_hint_hintBottom').attr("class","pmf_hint_mess_down");
				$('#pmf_hint_hintTop').attr("class","pmf_hint_mess_top");
				div1.css("left",obj.left + "px").css("top",(obj.top- divHeight ) + "px");
			}
			div1.show();
			setTimeout(function(){
				div1.hide();
			},15000);
		}).blur(function(){
			div1.hide();	
		});
		$("input[type=text]").focus(function(){
		    $(this).addClass("input");
		}).blur(function(){
		    $(this).removeClass("input");
		});
	});